import { Tooltip } from 'antd'
import { QuestionCircleOutlined } from '@ant-design/icons'

const IPTooltip = () => {
  return (
    <div>
      <div>支持格式如下：</div>
      <div>单IP地址：192.168.1.100</div>
      <div>IP段地址：192.168.1.1-192.168.100</div>
      <div>IP掩码位：192.168.1.0/25</div>
    </div>
  )
}
const Help = ({ title }) => {
  return (
    <Tooltip title={title}>
      <QuestionCircleOutlined style={{ color: 'var(--xdrsec-primary-color)' }} />
    </Tooltip>
  )
}
export default Help
